﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.PM
{
    /// <summary>
    /// 种母断奶
    /// </summary>
    public class MotherWeaning : Aubuit
    {
        /// <summary>
        /// 种母断奶ID
        /// </summary>
        [Key]
        public int MotherWeaningId { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string Leader { get; set; }

        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime WeaningDate { get; set; }

        /// <summary>
        /// 钟母耳号
        /// </summary>
        public int SowId { get; set; }

        /// <summary>
        /// 哺乳天数
        /// </summary>
        public int BreastfeedingDays { get; set; }

        /// <summary>
        /// 断奶只数
        /// </summary>
        public int WeanedQuantity { get; set; }

        /// <summary>
        /// 断奶总窝重（公斤）
        /// </summary>
        public decimal TotalWeaningWeight { get; set; }

        /// <summary>
        /// 种母体重（公斤）
        /// </summary>
        public decimal MotherWeight { get; set; }

        /// <summary>
        /// 当前所在的栋舍
        /// </summary>
        public int CurrentBarn { get; set; }

        /// <summary>
        /// 当前所在的栏位
        /// </summary>
        public int CurrentPen { get; set; }

        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public int TransferBarn { get; set; }

        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int TransferPen { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        public string SerialNo { get; set; }
        /// <summary>
        /// 断奶原因
        /// </summary>
        public string WeaningSeason {  get; set; }
    }
}
